package com.dao.database.exceptions;

public class DataAccessException extends RuntimeException{

	private static final long serialVersionUID = -2225003045668688728L;
	private Throwable cause;
	private String message;
	
	
	public DataAccessException(String msg,Throwable ex){
		message=msg;
		cause=ex;
	}

	public Throwable getCause() {
		return cause;
	}

	public String getMessage() {
		return message;
	}


}
